package com.elink.enginerring.dict.service;

import java.util.Map;

import com.elink.enginerring.dict.co.DictCo;
import com.elink.enginerring.dict.entity.Dict;

public interface IDictService {
	public Map<String,Object> getListOfPage (DictCo dictCo);
    
    Dict getSingleDict (String byName);
    
    boolean deleteByDictId(int dictId);
    
    boolean addOrEditDict(DictCo dictCo);

	public Map<String, Object> addDict(Dict dict,String merge);

	public  void editDict(Dict dict);

	public void delDict(String dictIds);

	public Map<String, Object> getInfo(int dictId);

	public Map<String, Object> getDistinct(String byName);
}
